package com.hangsu.train.components.service;

import com.hangsu.train.components.entity.Wanded;
import com.hangsu.train.components.params.IdParam;
import com.hangsu.train.components.params.WandedSearchParam;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author lyy
 * @Date 2024/11/17
 */
public interface WandedService {

    Page<Wanded> list(WandedSearchParam searchParam);

    Wanded detail(IdParam idParam);

    long save(Wanded wanded);

    void update(Wanded wanded);

    void del(IdParam idParam);

    List<Wanded> search(WandedSearchParam searchParam);
}
